package com.cuit.qx.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.extension.activerecord.Model;
import java.time.LocalDateTime;
import java.io.Serializable;
import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * <p>
 * 接口监控
 * </p>
 *
 * @author lcj
 * @since 2021-11-25
 */
@Data
@EqualsAndHashCode(callSuper = false)
public class InterfaceMonitoring extends Model<InterfaceMonitoring> {

    private static final long serialVersionUID = 1L;
    @TableId(value = "id", type = IdType.UUID)
    private String id;

    /**
     * 接口名称
     */
    private String interfaceName;

    /**
     * 数量
     */
    private Integer interfaceNum;

    /**
     * 状态
     */
    private Integer state;

    /**
     * 描述
     */
    private String description;

    /**
     * 执行时间
     */
    private String executionTime;

    /**
     * 预留字段
     */
    private String remark;


    @Override
    protected Serializable pkVal() {
        return this.id;
    }

}
